package com.ynet.middleground.approve.bean;

import javax.validation.constraints.NotEmpty;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liulx
 * @description 流程文件部署类
 * @date 2019-10-12 16:10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "流程文件部署类", description = "部署工作流规则文件对象")
public class DeployProcessReq extends BaseReqObj {

    private static final long serialVersionUID = 7254164346850405943L;

    @ApiModelProperty(value = "流程文件zip压缩包文件流字节", notes = "BPMN 流程文件zip压缩包文件流字节", required = true)
    @NotEmpty(message = "文件不能为空")
    private byte[] bytes;

}
